var VW_INTERFACE = function() {

	var LoginIP = "http://211.103.218.91:8001/";

	return {
		CAPTION: "农业统计快速调查综合服务平台",
		CAPTION_EN: "",
		PAGES: {
			LOGIN: "index.html",
			MAINFORM: "mainform.html"
		},
		DEFAULT_MAP_VIEW: {
			lat: 30,
			lon: 105,
			zoom: 7
		},
		WEBSERVICE: {
			setIP: function(ip) {
				localStorage.setItem("interfaceIP", ip);
			},
			BizManage: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/BizManage.asmx/" + name;
			},
			CollectionManage: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/CollectionManage.asmx/" + name;
			},
			DataAnalysis: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/DataAnalysis.asmx/" + name;
			},
			DataManage: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/DataManage.asmx/" + name;
			},
			DataReport: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/DataReport.asmx/" + name;
			},
			DataShow: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/DataShow.asmx/" + name;
			},
			DataVerify: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/VerifyManage.asmx/" + name;
			},
			DicManage: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/DicManage.asmx/" + name;
			},
			DisplayConfig: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/DisplayConfig.asmx/" + name;
			},
			FileManag: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/FileManag.asmx/" + name;
			},
			LoginManage: function(name) {
				return LoginIP + "NewService_new/VwService/LoginManage.asmx/" + name;
			},
			LogManage: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService_YG/LogManage.asmx/" + name;
			},
			MapService:function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/MapService.asmx/" + name;
			},
			MessageManage: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService_YG/MessageManage.asmx/" + name;
			},
			ReadTile: function(layer) {
				return localStorage.getItem("interfaceIP") + "/TileService/ReadTile.ashx?Layer=" + layer;
			},
			ReportManage: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/ReportManage.asmx/" + name;
			},
			ReportService: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/ReportService.asmx/" + name;
			},
			TableManage: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/TableManage.asmx/" + name;
			},
			SystemMonitor: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService_YG/SystemMonitor.asmx/" + name;
			},
			TaskManage: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/TaskManage.asmx/" + name;
			},
			TaskMonitor: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/TaskMonitor.asmx/" + name;
			},
			UserManage: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/UserManage.asmx/" + name;
			},
			ObjectManage: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/ObjectManage.asmx/" + name;
			},
			BizManage: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/BizManage.asmx/" + name;
			},
			DatManage: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/DatManage.asmx/" + name;
			},
			DataAggregate: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/DataAggregate.asmx/" + name;
			},
			SystemManage: function(name) {
				return localStorage.getItem("interfaceIP") + "NewService_new/VwService/SystemManage.asmx/" + name;
			},
		}
	}
}();